export function textHTML(view){
   return `<div id="${view.id}style"><p id="${view.id}textStyle">${view.content}</p></div>`
};
export function textStyle(view){
   return `
   #${view.id}style{
      position:${view.style.position};
      top:${view.style.top};
      left:${view.style.left};
      height:${view.style.height};
      width:${view.style.width};
   }
   
   #${view.id}textStyle{
      color:${view.textStyle.color};
      font-family:${view.textStyle.fontFamily};
      font-size:${view.textStyle.fontSize};
      font-weight:${view.textStyle.fontWeight};
      font-style:${view.textStyle.isEm?"italic":"normal"};
      line-height:${view.textStyle.lineHeight};
      opacity:${view.textStyle.opacity};
      text-align:${view.textStyle.textAlign};
      text-decoration:${view.textStyle.textDecoration};
      text-indent:${view.textStyle.textIndent};
      letter-spacing:${view.textStyle.letterSpacing};
   }
   `
};